package com.weilive.platform.gate.json;

import com.weilive.platform.dao.app.mapper.AppNoticeDO;
import com.weilive.platform.gate.json.protocol.AppNotice;

public class ObjectParser {

	public static AppNotice toJsonObj(AppNoticeDO obj) {
		if (obj == null)
			return null;
		AppNotice ret = new AppNotice();
		ret.body = obj.content;
		ret.pic = obj.pic;
		return ret;
	}
}
